package com.neusoft.yiyang.customer.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "care-service")
public interface CareClient {
    // 根据护理等级为客户添加关联的护理项目
    @PostMapping("/customer-care-items/customers/{customerId}/care-level/{careLevelId}")
    void addCareItemsByCareLevel(
            @PathVariable("customerId") Integer customerId,
            @PathVariable("careLevelId") Integer careLevelId);
}